package com.tj.mapper;

import com.tj.pojo.User;

import java.util.List;

public interface UserMapper {
    List<User> findAll();

    void insertUser(User user);

    void updateUser(String oldName, String nowName, String sex);
    void deleteUser(Integer id);
}
